package com.example.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    String oid;
    Date orderTime;
    Double total;
    // 1 未付款 2 已付款 3 已发货 4 已收货
    Integer state;
    String address;
    String uid;
    String name;
    String telephone;
    //订单项
    List<OrderItem> list = new ArrayList<>();
}
